package com.itheima.service;

import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.ArrayList;
import java.util.List;

public interface CheckGroupService {
    CheckGroup findById(Integer id);

    Boolean update(ArrayList<Integer> checkitemIds, CheckGroup checkGroup);

    PageResult find(QueryPageBean queryPageBean);

    ArrayList<Integer> findIdsBygroupId(Integer id);

    Integer delete(Integer id);

    Integer add(CheckGroup checkGroup,List<Integer>ids);
}


